package com.ls.controller.model.channel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @ClassName SendSmsWithChannelModel
 * @Description 测试通过通道发短信model
 * @Author pengyu
 * @Date 2019/9/13 10:17
 * @Version 1.0
 **/
@Data
@ApiModel("测试通过通道发短信model")
public class SendSmsWithChannelModel {

    /**
     * 上游通道主键ID
     */
    @ApiModelProperty(value = "上游通道Id")
    @NotNull(message = "上游通道Id不能为空")
    private Long chanId;

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    @NotNull(message = "手机号码不能为空")
    private String phone;

}
